all: sv_node

sv_node:commandLine.o StartUpConfigurationFile.o IniParser.o globalVariables.o functions.o server.o child.o connect.o connectJoin.o read.o write.o dispatcher.o msgLifeTimer.o keepAlive.o autoShutdown.o node.o commandLineThread.o LogFile.o checkThreadFunction.o metadata.o fileDetails.o fileConfig.o
	g++ -Wall -g -o sv_node *.o -L/home/scf-22/csci551b/openssl/lib -lcrypto -lsocket -lnsl -lresolv -lpthread

commandLine.o: commandLine.cpp
	g++ -Wall -g -c commandLine.cpp -I/home/scf-22/csci551b/openssl/include

StartUpConfigurationFile.o: StartUpConfigurationFile.cpp
	g++ -Wall -g -c StartUpConfigurationFile.cpp -I/home/scf-22/csci551b/openssl/include

IniParser.o: IniParser.cpp
	g++ -Wall -g -c IniParser.cpp -I/home/scf-22/csci551b/openssl/include

globalVariables.o: globalVariables.cpp
	g++ -Wall -g -c globalVariables.cpp -I/home/scf-22/csci551b/openssl/include

functions.o: functions.cpp
	g++ -Wall -g -c functions.cpp -I/home/scf-22/csci551b/openssl/include

server.o: server.cpp
	g++ -Wall -g -c server.cpp -I/home/scf-22/csci551b/openssl/include

child.o: child.cpp
	g++ -Wall -g -c child.cpp -I/home/scf-22/csci551b/openssl/include

connect.o: connect.cpp
	g++ -Wall -g -c connect.cpp -I/home/scf-22/csci551b/openssl/include

connectJoin.o: connectJoin.cpp
	g++ -Wall -g -c connectJoin.cpp -I/home/scf-22/csci551b/openssl/include

read.o: read.cpp
	g++ -Wall -g -c read.cpp -I/home/scf-22/csci551b/openssl/include

write.o: write.cpp
	g++ -Wall -g -c write.cpp -I/home/scf-22/csci551b/openssl/include

dispatcher.o: dispatcher.cpp
	g++ -Wall -g -c dispatcher.cpp -I/home/scf-22/csci551b/openssl/include

msgLifeTimer.o: msgLifeTimer.cpp
	g++ -Wall -g -c msgLifeTimer.cpp -I/home/scf-22/csci551b/openssl/include

keepAlive.o: keepAlive.cpp
	g++ -Wall -g -c keepAlive.cpp -I/home/scf-22/csci551b/openssl/include

autoShutdown.o: autoShutdown.cpp
	g++ -Wall -g -c autoShutdown.cpp -I/home/scf-22/csci551b/openssl/include

commandLineThread.o: commandLineThread.cpp
	g++ -Wall -g -c commandLineThread.cpp -I/home/scf-22/csci551b/openssl/include

LogFile.o: LogFile.cpp
	g++ -Wall -g -c LogFile.cpp -I/home/scf-22/csci551b/openssl/include

checkThreadFunction.o: checkThreadFunction.cpp
	g++ -Wall -g -c checkThreadFunction.cpp -I/home/scf-22/csci551b/openssl/include

node.o: node.cpp
	g++ -Wall -g -c node.cpp -I/home/scf-22/csci551b/openssl/include

metadata.o: metadata.cpp
	g++ -Wall -g -c metadata.cpp -I/home/scf-22/csci551b/openssl/include	
	
fileDetails.o: fileDetails.cpp
	g++ -Wall -g -c fileDetails.cpp -I/home/scf-22/csci551b/openssl/include
	
fileConfig.o: fileConfig.cpp
	g++ -Wall -g -c fileConfig.cpp -I/home/scf-22/csci551b/openssl/include
	
clean:
	rm -rf *.o node
